﻿using SqlSugar;

namespace WeDonekRpc.SqlSugar.VirtualQuery
{
    public struct TableStruct
    {
        public TableStruct ()
        {
            this.JoinType = JoinType.Inner;
        }

        /// <summary>
        /// 表名
        /// </summary>
        public string Name { get; set; }

        public Dictionary<string, string> Filter
        {
            get;
            set;
        }

        public JoinType JoinType { get; set; }
        /// <summary>
        /// 外键表
        /// </summary>
        public TableStruct[] Foreign { get; set; }
    }
}
